/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
 * TrainingBook
 * Copyright (C) Arnaud Duval 2010 <arnaud.duval@gmail.com>
 * 
 * Projects is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Projects is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef _ACTIVITY_COLUMNS_HPP_
#define _ACTIVITY_COLUMNS_HPP_

#include "gtkmm.h"
#include <DateTime.hpp>
#include <Duration.hpp>

///@class ActivityColumns
///@brief Define the column model for diplaying activities list
class ActivityColumns: public Gtk::TreeModel::ColumnRecord 
{
    public:
        ///@brief Default constructor
        ActivityColumns();
        //Columns
        ///@brief Column containing a string indicating the date
        Gtk::TreeModelColumn<Glib::ustring> m_col_date;
        ///@brief Column containing a string indicating the start time
        Gtk::TreeModelColumn<Glib::ustring> m_col_time;
        ///@brief Column for activity type
        Gtk::TreeModelColumn<Glib::ustring> m_col_activitytype;
        ///@brief Column for location
        Gtk::TreeModelColumn<Glib::ustring> m_col_location;
        ///@brief Column for distance
        Gtk::TreeModelColumn<double> m_col_distance;
        ///@brief Column for duration
        Gtk::TreeModelColumn<Glib::ustring> m_col_duration;
        ///@brief Column for average heart rate
        Gtk::TreeModelColumn<int> m_col_fcmoy;
        ///@brief Column for maximum hearth rate
        Gtk::TreeModelColumn<int> m_col_fcmax;
        ///@brief Column for consumed calories
        Gtk::TreeModelColumn<int> m_col_calory;
        ///@brief Column for trained quality
        Gtk::TreeModelColumn<Glib::ustring> m_col_quality;
		///@brief Column for id (unique)
        Gtk::TreeModelColumn<Glib::ustring> m_col_id;
        
    protected:

    private:

};

#endif // _ACTIVITY_COLUMNS_HPP_
